Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Conversation

rsify
Copy link

@rsify rsify commented Oct 3, 2018

Using the include/exclude keywords inside of pug <template>'s as following:

<!-- component.vue -->
<template lang="pug">
div
  h1 This is the app
  include ./pug-included
  comp-a
  comp-b
</template>
// pug-included.pug
div Included content

...did not work before, as you ought to provide the filename option to pug's .compile() method to use those features.

@rsify rsify closed this Aug 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant